package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.BsEquipmentplayerMapper;
import com.ruoyi.system.domain.BsEquipmentplayer;
import com.ruoyi.system.service.IBsEquipmentplayerService;

/**
 * 玩家装备Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-08-16
 */
@Service
public class BsEquipmentplayerServiceImpl implements IBsEquipmentplayerService 
{
    @Autowired
    private BsEquipmentplayerMapper bsEquipmentplayerMapper;

    /**
     * 查询玩家装备
     * 
     * @param id 玩家装备主键
     * @return 玩家装备
     */
    @Override
    public BsEquipmentplayer selectBsEquipmentplayerById(Long id)
    {
        return bsEquipmentplayerMapper.selectBsEquipmentplayerById(id);
    }

    /**
     * 查询玩家装备列表
     * 
     * @param bsEquipmentplayer 玩家装备
     * @return 玩家装备
     */
    @Override
    public List<BsEquipmentplayer> selectBsEquipmentplayerList(BsEquipmentplayer bsEquipmentplayer)
    {
        return bsEquipmentplayerMapper.selectBsEquipmentplayerList(bsEquipmentplayer);
    }

    /**
     * 新增玩家装备
     * 
     * @param bsEquipmentplayer 玩家装备
     * @return 结果
     */
    @Override
    public int insertBsEquipmentplayer(BsEquipmentplayer bsEquipmentplayer)
    {
        return bsEquipmentplayerMapper.insertBsEquipmentplayer(bsEquipmentplayer);
    }

    /**
     * 修改玩家装备
     * 
     * @param bsEquipmentplayer 玩家装备
     * @return 结果
     */
    @Override
    public int updateBsEquipmentplayer(BsEquipmentplayer bsEquipmentplayer)
    {
        return bsEquipmentplayerMapper.updateBsEquipmentplayer(bsEquipmentplayer);
    }

    /**
     * 批量删除玩家装备
     * 
     * @param ids 需要删除的玩家装备主键
     * @return 结果
     */
    @Override
    public int deleteBsEquipmentplayerByIds(Long[] ids)
    {
        return bsEquipmentplayerMapper.deleteBsEquipmentplayerByIds(ids);
    }

    /**
     * 删除玩家装备信息
     * 
     * @param id 玩家装备主键
     * @return 结果
     */
    @Override
    public int deleteBsEquipmentplayerById(Long id)
    {
        return bsEquipmentplayerMapper.deleteBsEquipmentplayerById(id);
    }
}
